package com.tian.entity;

import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.Date;

@ToString
@Data
public class GoodsInfo implements Serializable {
    private Long id;
    @NotEmpty
    private String name;

    private Integer stock;

    private Integer status;

    private Date createTime;

    private String imagUrl;

    private Integer type;

    private Integer point;

    private Integer activityId;

    private static final long serialVersionUID = 1L;

}